Extends:
Modifiers:
Source code
SpatialFear.SFNPCCommunication%%
%function_comment% | bool | bBobDown | ||
%function_comment% | float | fBobHeight | ||
%function_comment% | float | fBobStep | ||
%function_comment% | float | fHorizontalBobDir | ||
%function_comment% | float | fViewDist | ||
%function_comment% | float | fViewHeight | ||
%function_comment% | rotator | m_rotDirection | ||
%function_comment% | vector | m_vectStartLocation | ||
%function_comment% | vector | m_vectViewLocation | ||
%function_comment% | EViewPoint | ViewPoint |
%function_comment% | EViewPoint | VP_Rotating, VP_BehindPlayer, VP_InFrontPlayer, VP_RightOfPlayer, VP_LeftOfPlayer, VP_ThisPosition, VP_FirstPerson, |
| calcLocation () | |||
| vector | checkLocation (vector vecOrg) | ||
| resetView () | |||
| setupView () | |||
| startTracking () | |||
| stopTracking () | |||
| Tracking | Tick (float DeltaTime) | ||
| Tracking | Timer () |
{
ViewPoint=VP_ThisPosition
fViewDist=100.000000
fViewHeight=40.000000
fBobStep=0.100000
fHorizontalBobDir=1.000000
CommunicationProtocol(0)="Hi guys, this is a NPC communication sample.\n"
CommunicationProtocol(1)="Let's do some viewpoint changes.\nActorPosition view:Rotating view:Behind view:InFront view:Right view:Left view:"
CommunicationProtocol(2)="Now we are playing a single animation chain.Ok, done.\nNow we are playing a looping animation chain using the param SFSTARTAGAIN.\nNow let's stop this.Now we are playing a chain that loops on the last chain element using the param SFLOOPEND.Ok, that's it for today."
Animations(0)=GSitBase
Animations(1)=GSitBreath
Animations(2)=GSitLookUp
Animations(3)=GSitLookRight
Animations(4)=GSitGive
Animations(5)=ChairSitTalk
Animations(6)=AirVent
Animations(7)=AirVentIn
Animations(8)=Body4
Type=CT_NPC
bHidePlayerHUD=True
RotationRate=(Pitch=6000,Yaw=6000,Roll=6000)
}